#include "app_buffer.h"
#include "log/log.h"
int main(int argc, char const *argv[])
{
    Buffer *buffer = app_buffer_Init(14);

    //写入数据
    app_buffer_write(buffer,"abcde",5);
    //写入数据2
    app_buffer_write(buffer,"fghjkk",6);

    //读取数据1
    char data_buf[10];
    int len1 = app_buffer_read(buffer,data_buf,10);
    
    return 0;
}
